package com.freemalll.merchant.service.coopManagement;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.freemalll.merchant.domain.dto.coopManagement.AssetContrastQueryDto;
import com.freemalll.merchant.domain.dto.coopManagement.AssetManageEditDto;
import com.freemalll.merchant.domain.dto.coopManagement.AssetManagePageDto;
import com.freemalll.merchant.domain.entity.coopManagement.MerAssetManage;
import com.freemalll.merchant.domain.vo.coopManagement.AssetManagePageVo;

import java.util.List;
import java.util.Map;

/**
 * 服务层。
 *
 * @author songshixiong
 * @since 2025-04-29
 */
public interface MerAssetManageService extends IService<MerAssetManage> {

    /**
     * 分页
     *
     * @param dto
     * @return
     */
    Page<AssetManagePageVo> pageSearch(AssetManagePageDto dto);

    /**
     * 编辑
     *
     * @param dto
     */
    void edit(AssetManageEditDto dto);

    /**
     * 根据资方主键获取资方信息
     *
     * @param id
     * @return
     */
    AssetManageEditDto findOneById(String id);

    /**
     * 资方对比
     *
     * @param dto
     * @return
     */
    List<Map<String, Object>> comparisonOfCapital(AssetContrastQueryDto dto);

    /**
     * 列表
     *
     * @return
     */
    List<MerAssetManage> listSearch();
}
